﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Models
{
    /// <summary>
    /// 工作经历
    /// </summary>
    public  class WorkHistory:BaseModel
    {

        public DateTime BeginDate { get; set; }

        public DateTime? EndDate { get; set; }
        [StringLength(100)]
        public string Content { get; set; }

        [Required]
        public Guid UserId { get; set; }

        [ForeignKey(nameof(UserId))]
        public virtual WebUser User { get; set; }
    }
}
